package com.vincent.sciinfo.service;

import com.github.pagehelper.PageInfo;
import com.vincent.sciinfo.interceptor.FeignPassToken;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "service-patent", configuration = FeignPassToken.class)
public interface PatentService {

    @RequestMapping("/patent/selCheckAndRemovePatent")
    PageInfo selCheckAndRemovePatent(@RequestParam Integer pn, @RequestParam Integer pageSize);

    @RequestMapping("/patent/updatePatentStatus")
    void updatePatentStatus(@RequestParam String patentId, @RequestParam int operaCode);

    @RequestMapping("/patent/selectPatentNameById")
    String[] selectPatentNameById(@RequestParam String patentId);
}
